import { 
    BankFilled,
    VideoCameraOutlined,
    EditOutlined,
    FileOutlined,
    AppstoreOutlined,
    PaperClipOutlined,
    BookOutlined,
    DingtalkOutlined,
    UserOutlined,
    TagOutlined,
    SettingOutlined,
    AntDesignOutlined

} from '@ant-design/icons-vue';
interface Imenu {
    id: number|string,
    name: string,
    path: string,
    icon: any,
    children?: Imenu[]
}
const menuList:Imenu[] = [
    {
        id: "1",
        name: '首页',
        path: '/home',
        icon: BankFilled
    },
    {
        id: "2",
        name: "说说管理",
        path: "/speak",
        icon: VideoCameraOutlined
    },
    {
        id: "3",
        name: "留言管理",
        path: "/comment",
        icon: BookOutlined
    },
    {
        id: "4",
        name: "文章管理",
        path: "/article",
        icon: FileOutlined,
        children: [
            {
                id: "4-1",
                name: "归档管理",
                path: "/article/archive",
                icon: TagOutlined
            },
            {
                id: "4-2",
                name: "分类管理",
                path: "/article/category",
                icon: PaperClipOutlined
            },
            {
                id: "4-3",
                name: "标签管理",
                path: "/article/tag",
                icon: AppstoreOutlined
            },
            {
                id: "4-4",
                name: "评论管理",
                path: "/article/comment",
                icon: EditOutlined
            }
        ]
    },
    {
        id: 5,
        name: "用户管理",
        path: "/user",
        icon: UserOutlined,
        children: [
            {
                id: "5-1",
                name: "用户管理",
                path: "/user/user",
                icon: AppstoreOutlined
            }
        ]
    },
    {
        id: 6,
        name: "权限管理",
        path: "/permission",
        icon: EditOutlined
    },
    {
        id: 7,
        name: "系统管理",
        path: "/setting",
        icon: SettingOutlined,
        children: [
            {
                id: "7-1",
                name: "个人中心",
                path: "",
                icon: UserOutlined
            },
            {
                id: "7-2",
                name: "系统设置",
                path: "",
                icon: SettingOutlined
            }
        ]
    },
    {
        id: 8,
        name: "音乐管理",
        path: "/music",
        icon: AntDesignOutlined
    },
    {
        id: 9,
        name: "友情链接",
        path: "/link",
        icon: DingtalkOutlined,
        children: [
            {
                id: "9-1",
                name: "友链列表",
                path: "/link/link",
                icon: AppstoreOutlined
            },
            {
                id: "9-2",
                name: "添加友链",
                path: "/link/addLink",
                icon: AppstoreOutlined
            }
        ]
    }
]
export default menuList